package com.ruoyi.personnel.service;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.personnel.domain.Personnel;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface PersonnelService {

    public List<Personnel> queryByPage(Personnel personnel);

    public Personnel getPersonnelById(int id);

    public Personnel getPersonnelByNo(String no);

    public int insert(Personnel personnel);

    public int update(Personnel personnel);

    public int delByIds(Long[] ids);

    public void export(HttpServletResponse response, Personnel personnel);

    public int importData(MultipartFile file) throws Exception;
}
